package com.erp.warehouse.clouderp_warehouse.mapper.inventory;

import com.erp.warehouse.clouderp_warehouse.pojo.inbound.InboundOrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.comple.erp.pojo.warehouse.Inventory;

import java.util.List;
import java.util.Map;

/**
* @author 86188
* @description 针对表【inventory(库存表)】的数据库操作Mapper
* @createDate 2025-10-31 15:34:58
* @Entity .pojo.Inventory
*/
@Mapper
public interface InventoryMapper {
    //新增 - 会计算成本
    int insertWithPrice(@Param("inboundOrderItem")InboundOrderItem inboundOrderItem, @Param("companyId") String companyId);
    int insertByMap(Map<String, Object> params);
    //新增 - 不计算成本
    int insertWithNoPrice(@Param("inboundOrderItem")InboundOrderItem inboundOrderItem, @Param("companyId") String companyId);
    List<Inventory> selectInventoryList(Map<String, Object> params);
    List<String> selecteLockedGoodsIdList();
    void updatePrice(@Param("inboundOrderItem")InboundOrderItem inboundOrderItem, @Param("companyId") String companyId);
}




